package com._51cto.healthy.service;

import com._51cto.healthy.base.BaseService;
import com._51cto.healthy.content.P;
import com._51cto.healthy.pojo.Order;

import java.util.List;
import java.util.Map;

/****
 * @Author:DancingHorse
 * @Description:TOrder业务层接口
 * @Date 2022/4/14 0:16
 *****/
public interface OrderService extends BaseService<Order> {

    P<Order> queryList(String query, Integer pageNum, Integer pageSize);

    List<Map<String, String>> getSetMealReportForLastMonth();

//    用户预约
    void reservation(Order order, Integer doctor);

    void insertAll(Order order, Integer id);
}
